#!/usr/bin/python
# -*- coding: UTF-8 -*-

import os 
import sys

IS_DEBUG = False

# 邮件服务配置，闪亮项目组公共账号
EMAIL_SENDER = "sldqpstudio@qq.com"
EMAIL_PASS = "kyunvmnghugidfhc" # smtp 授权码
SMTP_HOST = "smtp.qq.com"
SMTP_PORT = 465

FTP_HOST = "172.16.21.161"
FTP_PORT = 21
FTP_USER = "cards"
FTP_PASS = "cards"

FTP_DIR = "tcs"

# 自动构建目录 
PROJECT_ROOT = "H:/testapk/heji"
# 安装包本地存放路径
EXPORT_ROOT = "H:/testapk/heji/ftp"

GAME_HALL_GIT_URL = 'git@gitee.com:115088853/game-hall-client-new.git'
LOBBY_GIT_URL = 'git@gitee.com:115088853/client-lobby.git'

GAME_HALL_DIR = 'game-hall-client-new'
LOBBY_DIR = 'client-lobby'

SO_FILE_NAME = "frameworks/runtime-src/proj.android/libs/armeabi/libxgame.so"
APK_FILE_NAME = "publish/android/MahjongClient-release-signed.apk"
IPA_FILE_NAME = "publish/ios/MahjongClient-.ipa"

LUA_ENCRYPT_KEY = "wlgame"
LUA_ENCRYPT_SIGN = "geSr9ADfHapzGQIcGH7Lqg=="

# app 参数，上传安装包到 fir 会用到。
# TODO 下列参数从安装包中解包获取
FIR_APP_NAME = "未来同城赛"
FIR_APP_BUNDLE_ID = "com.highlight.mjpe"
FIR_APP_VERSION = "4.0.0"

# mysql相关配置
MYSQL_HOST = "172.16.101.47" if IS_DEBUG else "127.0.0.1"
MYSQL_PORT = 3306
MYSQL_DATABASE = "db_tcs_build"
MYSQL_USER = "root"
MYSQL_PASSWORD = "root"

